﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AddBookingUserControl.ascx.cs"
    Inherits="MBS.UserControls.PaymentUserControl.AddBookingUserControl" %>
<table>
    <tr>
        <td>
            <table>
                <tr>
                    <td style="width: 500px">
                    </td>
                    <td>
                        <asp:Label ID="lblPayment" runat="server" Text="Payment" Font-Bold="true"
                            CssClass="label" ></asp:Label>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
    <td style="width:300px"></td>
    </tr>
    </table>
    <table>
    <tr>
    <td style="width:400px"></td>
        <td>
            <asp:Label ID="lblPaymentMode" runat="server" Text="Payment Mode" CssClass="label"></asp:Label>
        </td>
        <td>
            <asp:RadioButtonList ID="rbPaymentMode" runat="server"  RepeatDirection="Horizontal">
                <asp:ListItem Selected="True">Netbanking</asp:ListItem>
                <asp:ListItem>Credit Card</asp:ListItem>
                <asp:ListItem>DebitCard</asp:ListItem>
            </asp:RadioButtonList>
        </td>
    </tr>
    <tr>
     <td style="width:400px"></td>
    <td>
    <asp:Label ID="lblUserName" runat="server" Text="Name" CssClass="label"></asp:Label>
    </td>
    <td>
    <asp:TextBox ID="txtUserName" runat="server" CssClass="textbox"></asp:TextBox>
    </td>
    <td>
     <asp:RequiredFieldValidator ID="rfvUser" runat="server" 
                ControlToValidate="txtUserName" ErrorMessage="User Name field is required" 
                ForeColor="Red"></asp:RequiredFieldValidator>
    </td>
    </tr>
    <tr>
     <td style="width:400px"></td>
    <td>
    <asp:Label ID="lblCardNo" runat="server" CssClass="label" Text="CardNo"></asp:Label>
    </td>
    <td>
    <asp:TextBox ID="txtCardNo" runat="server" CssClass="textbox"></asp:TextBox>
    </td>
    <td>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="txtCardNo" ErrorMessage="Card No field is required" 
                ForeColor="Red"></asp:RequiredFieldValidator>
    </td>
    </tr>
    
</table>
<table>
<tr>
<td style="height:20px"></td>
</tr>
<tr>
<td style="width:500px"></td>
        <td>
            <asp:Button ID="btnPay" runat="server" Text="Pay" onclick="btnPay_Click" CssClass="button"></asp:Button>
        </td>
    </tr>
</table>
